ZennoLab Assemblies Documentation
AddRow(IEnumerable<String>) Method
See Also  Example Send Feedback
ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel Namespace > IZennoTable Interface > AddRow Method : AddRow(IEnumerable<String>) Method
values

Type: IEnumerable<string>

The values of the row.

Glossary Item Box

Adds a row from a list of values to the end of the object of IZennoTable interface.

Syntax

C# 
void AddRow( 
   IEnumerable<string> values
)

Parameters

values

Type: IEnumerable<string>

The values of the row.

Example

The following code using IZennoTable Interface for adding row. Before call of AddRow method.
C#Copy Code
// get table by name "MyTable"
IZennoTable table = project.Tables["MyTable"];
 
// add row 
table.AddRow(new [] { "one", "two", "three", "four" });
PHPCopy Code
// get table by name "MyTable"
$table = $project->Tables->get_Item("MyTable");
 
// add row 
$table->AddRow(array("one", "two", "three", "four"));

Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

© 2013 All Rights Reserved.